package com.danny.demo.proxy.jdk.CGLIB;

/**
 * @ClassName: CGLIBMainTest
 * @Description: TODO
 * @Author: zhangdong
 * @Date: Created in 16:12 2019/6/26
 * @Version:
 */
public class CGLIBMainTest {
    public static void main(String[] args) {
        //cglib生成代理类
        Teacher teacher = (Teacher) CGLIBProxy.getProxy(new Teacher());
        teacher.teach();
    }
}
